//
//  MineDeviceMessageViewController.swift
//  FrameProduct
//
//  Created by delegate on 2025/10/22.
//

import UIKit

class MineDeviceMessageViewController: BaseViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        setupNavi()
        
        setupUI()
    }
    private func setupNavi() {
        navigationItem.title = "修改密码"
    }
    private func setupUI() {
        view.addSubview(oneBgView)
        oneBgView.snp.makeConstraints { make in
            make.top.equalTo(30)
            make.left.equalTo(10)
            make.right.equalTo(-10)
            make.height.equalTo(68)
        }
        oneBgView.addSubviews(titleLabel, subTitleLabel)
        titleLabel.snp.makeConstraints { make in
            make.top.equalTo(10)
            make.left.equalTo(16)
            make.right.equalTo(-16)
        }
        subTitleLabel.snp.makeConstraints { make in
            make.top.equalTo(titleLabel.snp.bottom).offset(8)
            make.left.equalTo(16)
            make.right.equalTo(-16)
            
        }
    }
    //=================================================================
    //                            lazy
    //=================================================================
    // MARK: - lazy
    private lazy var oneBgView: UIView = {
        let view = UIView()
        view.backgroundColor = .lxs.hex("#152443")
        view.layer.cornerRadius = 10
        view.layer.masksToBounds = true
        return view
    }()
    private lazy var titleLabel: UILabel = {
        let label = UILabel()
        label.text = "设备名称"
        label.textColor = .lxs.hex("#FFFFFF")
        label.font = .lxs.font(size: 14)
        return label
    }()
    private lazy var subTitleLabel: UILabel = {
        let label = UILabel()
        label.text = "00202312091734250961"
        label.textColor = .lxs.hex("#808080")
        label.font = .lxs.font(size: 12)
        return label
    }()
}
